package com.fenqiyong.www.fragment;

import android.view.View;


import com.fenqiyong.www.R;
import com.fenqiyong.www.action.FragmentIndexContract;
import com.tougc.bean.beans.BannerBean;
import com.tougc.bean.beans.CardIndexBean;
import com.fenqiyong.www.action.FragmentIndexPresent;
import com.tougc.bean.beans.ProductIndexBean;

import java.util.List;

import javax.inject.Inject;

import ren.nearby.http.base.BaseLazyLoadFragment;
import ren.nearby.http.base.IPresenter;


public class Statea extends BaseLazyLoadFragment implements FragmentIndexContract.View {

    @Inject
    FragmentIndexContract.Action action;




    @Override
    public void initView(View view) {
        action.takeView(this);

    }

    @Override
    public void banner(List<BannerBean.Banner> banners) {

    }

    @Override
    public void card(List<CardIndexBean.CardIndex> cardIndices) {



    }

    @Override
    public void product(List<ProductIndexBean.ProductIndex> productIndices) {

    }




    @Override
    protected BaseLazyLoadFragment getFragment() {
        return this;
    }


    @Override
    public void setPresenter(FragmentIndexPresent presenter) {

    }

    @Override
    public IPresenter getPresenter() {
        return null;
    }


    @Override
    public void onFragmentFirstVisible() {
        action.takeView(this);

    }




    @Override
    public void onFragmentResume() {

    }

    @Override
    protected int getLayoutRes() {
        return R.layout.statea;
    }


}
